crypto/tls.Config.curvePreferences (method)
4 uses
crypto/tls (current package)
common.go#L1270: func (c *Config) curvePreferences(version uint16) []CurveID {
common.go#L1289: return slices.Contains(c.curvePreferences(version), curve)
handshake_client.go#L78: supportedCurves: config.curvePreferences(maxVersion),
handshake_server_tls13.go#L209: preferredGroups := c.config.curvePreferences(c.vers)
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |